<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>注册页</title>
    <link rel="stylesheet" type="text/css" th:href="@{/statics/css/common.css}" >
</head>
<body>
    <table>
        <form th:action="@{/userReg}" method="post">
            <!--<tr>
                <td>请选择头像:</td>
                <td><input type="file" name="head"></td>
            </tr>-->
            <tr>
                <td>用户名:</td>
                <td><input type="text" name="name"></td>
            </tr>
            <tr>
                <td>密码:</td>
                <td><input type="password" name="password"></td>
            </tr>
            <tr>
                <td><input type="submit" value="提交"></td>
                <td><input type="reset" value="重置"></td>
            </tr>
        </form>
        <a th:href="@{/to/userLogin}">已有账号？点击登录</a>
    </table>
</body>
</html>